<?
	$nav = array("Home" => "", "Channel" => "channel/", "add" => "#");

	$tpl->assign("dsfm_nav", $nav);

    $form = new Form( array(
		"url" => array(
			"width" => 400,
			"type" => "text",
			"title" => "URL"
		),

		"channel" => array(
			"width" => 400,
			"type" => "text",
			"lang" => "th/en"
		),

		"detail" => array(
			"width" => 400,
			"type" => "textarea",
			"lang" => "th/en"
		),
	));

	$form->add_action("add.php");

    $form->rain_display($tpl, "form");
?>